<?php 
ob_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>History</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="Content/bootstrap.css" rel="stylesheet" />
<link href="Content/bootstrap-datepicker3.css" rel="stylesheet" />
<link href="Content/site.css" rel="stylesheet" />
<script src="Scripts/jquery-1.9.1.js"></script>
<script src="Scripts/bootstrap.js"></script>
<script src="Scripts/bootstrap-datepicker.js"></script>
</head>
<body>
<div class="container blue_border">
<?php 
include_once("php/banner.php");
?>
<?php 
include_once("php/nav_bar.php");
?>

  <div class="container-fluid">
   
              <?php	include_once("php/main_classes.php");?>
              <?php	include_once("php/all_seasons.php");?>
              <?php foreach ($allSeasons as $all){?>
     <div class="row">
			<h3><?php echo $all->seasonName;?></h3>
		<div class="col-md-12 col-xs-12">
           Round <?php $rounds=$repRound->maps($repRound->getAllRoundsDESC($all->seasonID));
			foreach ($rounds as $r){
			?>
            <a href="history_round.php?id=<?php echo $r->roundID;?>"><?php echo " ".$r->round_number." ";?></a>
            <?php } ?>
            <br /><br />
        </div>
	 </div>
<?php }		?>
      
	

  </div>


  <?php 
  ob_flush();
include_once("php/footer.php");
?>
</div>
</body>
</html>
